﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="comments.aspx.cs" Inherits="Web4Comment.comments" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">


<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
  <head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    
    <meta name="Generator" content="iWeb 3.0.4" />
    <meta name="iWeb-Build" content="local-build-20120101" />
    <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
    <meta name="viewport" content="width=1050" />
    <title>activity</title>
    <link rel="stylesheet" type="text/css" media="screen,print" href="media/css/activity.css" />
    <!--[if lt IE 8]><link rel='stylesheet' type='text/css' media='screen,print' href='media/css/activityIE.css'/><![endif]-->
    <!--[if gte IE 8]><link rel='stylesheet' type='text/css' media='screen,print' href='media/css/IE8.css'/><![endif]-->
  </head>
  <body style="background: rgb(251, 251, 251); margin: 0pt; >
    <div style="text-align: center; ">
      <div style="margin-bottom: 0px; margin-left: auto; margin-right: auto; margin-top: 0px; overflow: hidden; position: relative; word-wrap: break-word;  text-align: left; width: 1050px; " id="body_content">
        <form id="form1" runat="server">
        <div style="background: transparent url(media/images/backgroundimage_1_1.png) no-repeat scroll center center; width: 1050px; ">
          <div style="float: left; margin-left: 0px; position: relative; width: 1050px; z-index: 0; " id="nav_layer">
            <div style="height: 0px; line-height: 0px; " class="bumper"> </div>
            <div style="clear: both; height: 0px; line-height: 0px; " class="spacer"> </div>
          </div>
          <div style="float: left; height: 0px; line-height: 0px; margin-left: 0px; position: relative; width: 1050px; z-index: 10; " id="header_layer">
            <div style="height: 0px; line-height: 0px; " class="bumper"> </div>
          </div>
          <div style="margin-left: 0px; position: relative; width: 1050px; z-index: 5; " id="body_layer">
            <div style="height: 0px; line-height: 0px; " class="bumper"> </div>
            <div style="height: 28px; width: 101px;  height: 27px; left: 344px; position: absolute; top: 89px; width: 100px; z-index: 1; " class="tinyText shadow_0">
              <div style="position: relative; width: 100px; ">
                <img src="media/images/shapeimage_1.png" alt="" style="height: 28px; left: 0px; position: absolute; top: 0px; width: 101px; " />
              </div>
            </div>
            


            <div style="height: 20px; width: 66px;  height: 20px; left: 922px; position: absolute; top: 41px; width: 66px; z-index: 1; " class="tinyText style_SkipStroke stroke_0">
              <img src="media/images/about.gif" alt="" style="border: none; height: 20px; width: 66px; " />
            </div>
            
            <div style="height: 20px; width: 66px;  height: 20px; left: 900px; position: absolute; top: 70px; width: 88px; z-index: 1; text-align: center;" 
                  class="tinyText style_SkipStroke stroke_0">
              <asp:LinkButton ID="userLinkButton" runat="server" PostBackUrl="~/profile.aspx">用户</asp:LinkButton>|
              <asp:LinkButton ID="logoutLinkButton" runat="server" PostBackUrl="~/logout.aspx">登出</asp:LinkButton>
            </div>

            <div style="height: 28px; width: 101px;  height: 27px; left: 244px; position: absolute; top: 89px; width: 100px; z-index: 1; " class="tinyText shadow_1">
              <div style="position: relative; width: 100px; ">
                <img src="media/images/shapeimage_2.png" alt="" style="height: 28px; left: 0px; position: absolute; top: 0px; width: 101px; " />
              </div>
            </div>
            


            <div style="height: 21px; width: 65px;  height: 21px; left: 772px; position: absolute; top: 40px; width: 65px; z-index: 1; " class="tinyText style_SkipStroke stroke_0">
              <img src="media/images/any.gif" alt="" style="border: none; height: 21px; width: 65px; " />
            </div>
            


            <div style="height: 28px; width: 101px;  height: 27px; left: 144px; position: absolute; top: 89px; width: 100px; z-index: 1; " class="tinyText shadow_2">
              <div style="position: relative; width: 100px; ">
                <img src="media/images/shapeimage_3.png" alt="" style="height: 28px; left: 0px; position: absolute; top: 0px; width: 101px; " />
              </div>
            </div>
            


            <div style="height: 21px; width: 66px;  height: 21px; left: 685px; position: absolute; top: 40px; width: 66px; z-index: 1; " class="tinyText style_SkipStroke stroke_0">
              <a href="friends.aspx" target="_self">
              <img src="media/images/friends.gif" alt="" style="border: none; height: 21px; width: 66px; " />
              </a>
            </div>
            


            <div style="height: 19px; width: 44px;  height: 19px; left: 620px; position: absolute; top: 41px; width: 44px; z-index: 1; " class="tinyText style_SkipStroke stroke_0">
              <a href="main.aspx" target="_self">
              <img src="media/images/main.gif" alt="" style="border: none; height: 19px; width: 44px; " />
              </a>
            </div>
            


            <div style="height: 19px; width: 41px;  height: 19px; left: 859px; position: absolute; top: 41px; width: 41px; z-index: 1; " class="tinyText style_SkipStroke stroke_0">
              <a href="link.aspx" target="_self">
              <img src="media/images/sns.gif" alt="" style="border: none; height: 19px; width: 41px; " />
              </a>
            </div>
            


            <div style="height: 49px; width: 224px;  height: 49px; left: 64px; position: absolute; top: 26px; width: 224px; z-index: 1; " class="tinyText style_SkipStroke stroke_0">
              <img src="media/images/logo.gif" alt="" style="border: none; height: 49px; width: 224px; " />
            </div>
            



            


            <div id="id1" style="height: 422px; left: 125px; position: absolute; top: 111px; width: 526px; z-index: 1; " class="style_SkipStroke_1 shape-with-text">
              <div class="text-content graphic_shape_layout_style_default_External_526_422" style="padding: 0px; ">
                <div class="graphic_shape_layout_style_default">
                        <asp:DataList ID="commentsdl" runat="server" Width="100%" Font-Bold="True" 
                            Height="70px" CellPadding="4" ForeColor="#333333" >
                            <AlternatingItemStyle BackColor="White" />
                            <FooterStyle BackColor="#1C5E55" Font-Bold="True" ForeColor="White" />
                            <HeaderStyle BackColor="#1C5E55" Font-Bold="True" ForeColor="White" />
                            <ItemStyle BackColor="#E3EAEB" />
                            <ItemTemplate>
                                <table style="width: 100%; ">
                                    <tr >
                                        <td style="font-size: large">
                                            <a href="profile.aspx?user=<%# Eval("user_username") %>"><b>
                                                <%# Eval("user_username") %></b></a>: &nbsp;<%# Eval("content") %><a href="profile.aspx?user=<%# Eval("to_username") %>"><b><%# Eval("to_username") %></b></a><br /></td>
                                    </tr>
                                    <tr >
                                        <td style="border: thin dashed #00FF00; font-size: small; background-color: #808080;">
                                            <a href="news.aspx?url=<%# Eval("news_url")%>"><b>
                                                <%# Eval("news_url") %></b></a><br />
                                        </td>
                                    </tr>
                                    <tr style="font-size: small">
                                        <td>
                                            <div>
                                            <!--
                                                From:&nbsp;<a href="<%# Eval("news_url")%>"><b>
                                                <%# Eval("news_url") %></b></a>&nbsp;
                                                -->
                                                At:&nbsp;
                                                <%# Eval("date")%>
                                                <%if (CommentType == 1)
                                                  { %>
                                                <div style="float: right; right: 4px;">
                                                    <asp:LinkButton ID="LinkButton1" runat="server" Text="Delete" CommandArgument='<%# Eval("ID")%>' OnClick="HandleDeleteComment" />
                                                </div>
                                                <%}
                                                  else if (CommentType == 4)
                                                  {%>
                                                <div style="float: right; right: 4px;">
                                                    <asp:LinkButton ID="LinkButton2" runat="server" Text="Delete" CommandArgument='<%# Eval("ID")%>' OnClick="HandleDeleteRecommender" />
                                                </div>
                                                <%} %>
                                            </div>
                                        </td>
                                    </tr>
                                </table>

                                <div style="border-bottom: 1px dashed green">
                                </div>
                            </ItemTemplate>
                            <SelectedItemStyle BackColor="#C5BBAF" Font-Bold="True" ForeColor="#333333" />
                        </asp:DataList>
                        
                  &nbsp;<asp:Button ID="preButton" runat="server" onclick="preButton_Click" 
                            Text="前一页" />
&nbsp;<asp:Button ID="nextButton" runat="server" onclick="nextButton_Click" Text="后一页" />
&nbsp;<asp:TextBox ID="goTextBox" runat="server" Columns="3"></asp:TextBox>
&nbsp;<asp:Button ID="goButton" runat="server" onclick="goButton_Click" Text="跳转" />
&nbsp;<asp:Label ID="nowLabel" runat="server" Text="1"></asp:Label>
                        /<asp:Label ID="allLabel" runat="server" Text="999"></asp:Label>
                        页</div>
              </div>
            </div>
            

            <div style="height: 70px; width: 35px;  height: 70px; left: 106px; position: absolute; top: 447px; width: 35px; z-index: 1; " class="tinyText style_SkipStroke stroke_0">
              <img src="media/images/arr-b.png" alt="" style="border: none; height: 70px; width: 35px; " />
            </div>

            <div style="height: 70px; width: 35px;  height: 70px; left: 106px; position: absolute; top: 364px; width: 35px; z-index: 1; " class="tinyText style_SkipStroke stroke_0">
              <asp:ImageButton ID="ImageButton1" runat="server" Height="70" Width="35" 
                    ImageUrl="~/media/images/arr-g.png" 
                    onclick="MyRecommendImageButton_Click" />
            </div>
            


            <div style="height: 70px; width: 35px;  height: 70px; left: 106px; position: absolute; top: 205px; width: 35px; z-index: 1; " class="tinyText style_SkipStroke stroke_0">
              <asp:ImageButton ID="FriendImageButton" runat="server" Height="70" Width="35" 
                    ImageUrl="~/media/images/arr-p.png" onclick="FriendImageButton_Click" />
            </div>
            


            <div style="height: 70px; width: 35px;  height: 70px; left: 106px; position: absolute; top: 127px; width: 35px; z-index: 1; " class="tinyText style_SkipStroke stroke_0">
              <!-- <img src="media/images/arr-r.png" alt="" style="border: none; height: 70px; width: 35px; " /> -->
              <asp:ImageButton ID="MyImageButton" runat="server" Height="70" Width="35" 
                    ImageUrl="~/media/images/arr-r.png" onclick="MyImageButton_Click" />
            </div>
            


            <div style="height: 70px; width: 35px;  height: 70px; left: 106px; position: absolute; top: 285px; width: 35px; z-index: 1; " class="tinyText style_SkipStroke stroke_0">
              <asp:ImageButton ID="RecommendImageButton" runat="server" Height="70" Width="35" 
                    ImageUrl="~/media/images/arr-y.png" 
                    onclick="RecommendImageButton_Click" />
            </div>
            


            <div style="height: 31px; width: 44px;  height: 31px; left: 933px; position: absolute; top: 105px; width: 44px; z-index: 1; " class="tinyText style_SkipStroke stroke_0">
              <img src="media/images/mail.png" alt="" style="border: none; height: 31px; width: 44px; " />
            </div>
            


            <div style="height: 7px; width: 7px;  height: 7px; left: 679px; position: absolute; top: 117px; width: 7px; z-index: 1; " class="tinyText">
              <div style="position: relative; width: 7px; ">
                <img src="media/images/shapeimage_4.png" alt="" style="height: 7px; left: 0px; position: absolute; top: 0px; width: 7px; " />
              </div>
            </div>
            


            <div style="height: 2px; width: 229px;  height: 0px; left: 685px; position: absolute; top: 121px; width: 229px; z-index: 1; " class="tinyText">
              <div style="position: relative; width: 229px; ">
                <img src="media/images/shapeimage_5.jpg" alt="" style="height: 2px; left: 0px; margin-top: -1px; position: absolute; top: 0px; width: 229px; " />
                  </div>
            </div>
            <div style="height: 650px; line-height: 650px; " class="spacer"> </div>
          </div>
          <div style="height: 0px; line-height: 0px; margin-left: 0px; position: relative; width: 1050px; z-index: 15; " id="footer_layer">
            <div style="height: 0px; line-height: 0px; " class="bumper"> </div>
          </div>
        </div>
      </div>
    </div>
        </form>
  </body>
</html>



